package edu.snake.implement.view;


import edu.snake.core.controller.GameEngine;
import edu.snake.core.view.ViewFactory;

public class ViewRenderFactorySwing implements ViewFactory {
    @Override
    public View getView(GameEngine engine) {
        View view = new View(engine);
        view.repaint();
        view.setVisible(true);
        return view;
    }

}
